#import <Foundation/Foundation.h>
#import "SEGUserinsertuserModel.h"

@interface SEGUserinsertuserManager : NSObject
#pragma mark - SINGLE----BEGIN----
+(instancetype)sharedManager;//创建单例
+(void)destroyResource;//销毁单例
#pragma mark - SINGLE----END----

#pragma mark - HTTP----BEGIN----
-(void)requestUserinsertuserWithCustname:(NSString*)custName userTel:(NSString*)userTel enterpriseId:(NSString*)enterpriseId roleId:(NSString*)roleId communityId:(NSString*)communityId propId:(NSString*)propId userType:(NSString*)userType finished:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;

-(void)requestUpdateUserCommonWithUserCustRelIds:(NSString*)userCustRelIds roleId:(NSString*)roleId userName:(NSString*)userName finished:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;

/*
 删除员工
 */
-(void)requestDeleteUserWithUserCustRelIds:(NSString*)userCustRelIds finished:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;
#pragma mark - HTTP----END----

#pragma mark - SOURCE----BEGIN----
@property (nonatomic, strong) SEGUserinsertuserModel *UserInsertUser;
#pragma mark - SOURCE----END----
@end
